15. Detecting Faces

Detecting Faces

What two methods should you use with the FaceDetector.Builder to turn on Classifications and improve performance by disabling tracking (which maintains an ID between consecutive frames if the same face exists in both of them?)

SOLUTION:
  • `setClassificationType(FaceDetector.ALL_CLASSIFICATIONS)`
  • `setTrackingEnabled(false)`